﻿using Coldairarrow.Api.Controllers.WebHook;
using Coldairarrow.Business.Base_Manage;
using Coldairarrow.Entity.Base_Manage;
using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.Interface;
using Coldairarrow.Util;
using EFCore.Sharding;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Api.Controllers.Base_Manage
{
    [Route("/OpenApi/[controller]/[action]")]
    [AllowAnonymous]
    public class WebHookController : BaseApiController
    {

        public WebHookController(IDbAccessor db)
        {
        }

        [HttpPost]
        public async Task<string> GetMsg(WebHookDTO webHookDTO)
        {
            var m = webHookDTO;
            return "OK";
        }


    }
}